docs(cli): clarify password field limitations for main branch#5309
Merged
Conversation
…ommand The main branch omits POSTGRES_URL and POSTGRES_URL_NON_POOLING because production database credentials are not retrievable via the Management API. Add a note to the Long description so the behavior is visible in both --help output and the auto-generated CLI reference docs. Fixes CLI-1450
The legacy TypeScript shell is a 1:1 port of the Go CLI and must keep help text in sync. Match the new main-branch password-field note that was added to the Go cobra command. Fixes CLI-1450
Coverage Report for CI Build 26151498934Warning No base build found for commit Coverage: 63.744%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats
💛 - Coveralls |
Switching Long from a quoted string to a backtick literal changes column alignment; gofmt wants Args: with one space instead of two.
jgoux
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the help text for the
branches getcommand in both the Go and TypeScript CLI implementations to clarify that password-dependent database fields are not populated for the main branch.Changes:
branchGetCmdlong description inapps/cli-go/cmd/branches.goto include a note explaining thatPOSTGRES_URLandPOSTGRES_URL_NON_POOLINGfields are not available for the main branch because production database credentials cannot be retrieved via APIapps/cli/src/legacy/commands/branches/get/get.command.tswith the same clarification for consistency across CLI implementationsThis improves user experience by setting correct expectations when querying main branch details and reduces confusion about missing credential fields.
Closes: CLI-1450
https://claude.ai/code/session_01Dq9V9d8nxzfFkqk3MaHBWB